package com.portal.entity;

import com.baomidou.mybatisplus.annotation.*;
import lombok.Data;
import java.time.LocalDateTime;

/**
 * 反馈实体类
 */
@Data
@TableName("feedback")
public class Feedback {
    
    @TableId(type = IdType.AUTO)
    private Long id;
    
    private String name;
    
    private String phone;
    
    private String company;
    
    private String department;
    
    private String type;
    
    private String title;
    
    private String content;
    
    // 图片相关字段
    private String image;        // 图片路径
    private String imageName;    // 图片名称
    private String imageUrl;     // 图片访问URL
    private Long fileSize;       // 文件大小
    private String fileType;     // 文件类型
    
    private Integer status;
    
    private String reply;
    
    private LocalDateTime replyTime;
    
    @TableField(fill = FieldFill.INSERT)
    private LocalDateTime createTime;
    
    @TableField(fill = FieldFill.INSERT_UPDATE)
    private LocalDateTime updateTime;
} 